package com.foreknow.elmboot.mapper;

import com.foreknow.elmboot.po.OrderDetailet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailetMapper {
  /**
   * 批量添加
   * @param list
   * @return
   */
    public int saveOrderDetailetBatch(List<OrderDetailet> list);

  /**
   * 根据orderId查询明细列表
   * @param orderId
   * @return
   */
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId);
}
